package com.cq.pojo;

public class Dorm {
    private int Dor_Id;      //寝室号
    private String Dor_Sex;  //居住性别
    private int Dor_Num;     //应住人数
    private int Dor_Fact;    //实住人数
    private double Dor_Price;//住宿费用
    private String Dor_Tel;  //电话
    private int build_id;   //宿舍所在楼房号
    private String build_name;  //宿舍所在楼房名

    public Dorm() {
    }

    public Dorm(int dor_Id, String dor_Sex, int dor_Num, int dor_Fact, double dor_Price, String dor_Tel, int build_id) {
        Dor_Id = dor_Id;
        Dor_Sex = dor_Sex;
        Dor_Num = dor_Num;
        Dor_Fact = dor_Fact;
        Dor_Price = dor_Price;
        Dor_Tel = dor_Tel;
        this.build_id = build_id;
    }

    public Dorm(int dor_Id, String dor_Sex, int dor_Num, int dor_Fact, double dor_Price, String dor_Tel, int build_id, String build_name) {
        Dor_Id = dor_Id;
        Dor_Sex = dor_Sex;
        Dor_Num = dor_Num;
        Dor_Fact = dor_Fact;
        Dor_Price = dor_Price;
        Dor_Tel = dor_Tel;
        this.build_id = build_id;
        this.build_name = build_name;
    }

    @Override
    public String toString() {
        return "Dorm{" +
                "Dor_Id=" + Dor_Id +
                ", Dor_Sex='" + Dor_Sex + '\'' +
                ", Dor_Num=" + Dor_Num +
                ", Dor_Fact=" + Dor_Fact +
                ", Dor_Price=" + Dor_Price +
                ", Dor_Tel='" + Dor_Tel + '\'' +
                ", build_id=" + build_id +
                ", build_name='" + build_name + '\'' +
                '}';
    }

    public int getDor_Id() {
        return Dor_Id;
    }

    public void setDor_Id(int dor_Id) {
        Dor_Id = dor_Id;
    }

    public String getDor_Sex() {
        return Dor_Sex;
    }

    public void setDor_Sex(String dor_Sex) {
        Dor_Sex = dor_Sex;
    }

    public int getDor_Num() {
        return Dor_Num;
    }

    public void setDor_Num(int dor_Num) {
        Dor_Num = dor_Num;
    }

    public int getDor_Fact() {
        return Dor_Fact;
    }

    public void setDor_Fact(int dor_Fact) {
        Dor_Fact = dor_Fact;
    }

    public double getDor_Price() {
        return Dor_Price;
    }

    public void setDor_Price(double dor_Price) {
        Dor_Price = dor_Price;
    }

    public String getDor_Tel() {
        return Dor_Tel;
    }

    public void setDor_Tel(String dor_Tel) {
        Dor_Tel = dor_Tel;
    }

    public int getBuild_id() {
        return build_id;
    }

    public void setBuild_id(int build_id) {
        this.build_id = build_id;
    }

    public String getBuild_name() {
        return build_name;
    }

    public void setBuild_name(String build_name) {
        this.build_name = build_name;
    }
}